//
//  ASAnisetteDataProvider.h
//  XAuthServer
//
//  Created by 吴双 on 2023/1/22.
//

#import <Foundation/Foundation.h>

@class ALTAnisetteData;

typedef void(^ASAnisetteDataHandler)(ALTAnisetteData *data, NSError *error);



@interface ASAnisetteDataProvider : NSObject

- (void)fetchAnisetteData:(ASAnisetteDataHandler)completion;

@end



#if TARGET_OS_OSX

@interface ASAnisetteDataLocalProvider : ASAnisetteDataProvider

@end

#endif

@interface ASAnisetteDataGlobalProvider : ASAnisetteDataProvider

@property (nonatomic, strong) NSURL *fetchURL;

@end
